package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname Budget
 * @description <br>广告日预算表对应实体类</br>
 * @date 2019-10-31 17:24:19
 * @email jintaozhao@qq.com
 */
public class Budget extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 广告主id
	 */
	@Excel(name = "广告主id")
	private Long advertiserId;

	/**
	 * 预算类型
	 */
	@Excel(name = "预算类型")
	private String budgetMode;

	/**
	 * 预算数量
	 */
	@Excel(name = "预算数量")
	private BigDecimal budget;


	public Long getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(Long advertiserId) {
		this.advertiserId = advertiserId;
	}

	public String getBudgetMode() {
		return budgetMode;
	}

	public void setBudgetMode(String budgetMode) {
		this.budgetMode = budgetMode;
	}

	public BigDecimal getBudget() {
		return budget;
	}

	public void setBudget(BigDecimal budget) {
		this.budget = budget;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("advertiserId", getAdvertiserId())
				.append("budgetMode", getBudgetMode())
				.append("budget", getBudget())
				.append("createUser", getCreateUser())
				.append("createTime", getCreateTime())
				.append("updateUser", getUpdateUser())
				.append("updateTime", getUpdateTime())
				.toString();
	}
}
